package com.mercycrazy.recruit.util;

import org.apache.commons.lang3.StringUtils;

/**
 * Swagger 相关通用工具类
 *
 * @author <a href="mailto:1443424326@qq.com">mercycrazy</a>
 * @since 2023-01-16
 */
public class SwaggerUtil {

    public static boolean checkSpringDocUrl(String url) {
        
        return StringUtils.containsAny(
                url,
                "swagger", "doc.html", "webjars", "favicon.ico", "api-docs"
        );
    }
}